//
//  OSApplyHomeVC.m
//  ZKPayApp
//
//  Created by 凯朱 on 2024/10/30.
//

#import "OSApplyHomeVC.h"

@interface OSApplyHomeVC ()

@end

@implementation OSApplyHomeVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = kColor_W;
    self.isHidenNaviBar = YES;
    _bgView.layer.cornerRadius = 10;
    _bgView.layer.shadowColor = [UIColor colorWithRed:105/255.0 green:126/255.0 blue:196/255.0 alpha:0.16].CGColor;
    _bgView.layer.shadowOffset = CGSizeMake(0,6);
    _bgView.layer.shadowOpacity = 1;
    _bgView.layer.shadowRadius = 16;
  
    
    NSString *key = [NSString stringWithFormat:@"curOrder_%@",kUserInfo.user_id];
    NSDictionary *applyInfo = [[NSUserDefaults standardUserDefaults] objectForKey:key];
    NSString *orderId = kSTRING(applyInfo[@"id"]);
    NSString *money = kSTRING(applyInfo[@"money"]);
    NSString *dateStr = kSTRING(applyInfo[@"dateStr"]);
    NSString *lixi = kSTRING(applyInfo[@"lixi"]);
    NSString *backMoney = kSTRING(applyInfo[@"backMoney"]);
    
    _noLbl.text = orderId;
    _lixiLbl.text = lixi;
    _jineLbl.text = money;
    _backLbl.text = backMoney;
    _dateLbl.text = dateStr;
    
    _titleLbl1.text = kLocalString(@"订单编号");
    _titleLbl2.text = kLocalString(@"还款日");
    _titlelbl3.text = kLocalString(@"应还金额");
    _titleLbl4.text = kLocalString(@"到账金额");
    _titleLbl5.text = kLocalString(@"利息");
    _titleLbl6.text = kLocalString(@"服务费");
    
    _toplbl1.text = kLocalString(@"等待放款");
    _topLbl2.text = kLocalString(@"订单已经提交，请您耐心等待！");
}


@end
